<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class=""><a href="{:url('Wuye/yezhu')}">业主列表</a></li>
        <li class="active"><a href="{:url('Wuye/yezhuAdd')}">编辑业主信息</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('Wuye/yezhuSave')}">

        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>姓名:</label>
            <div class="col-md-6 col-sm-10">
                <empty name="$data.remark">
                    <input type="text" class="form-control" name="remark" value="{$data.nickname|default=''}">
                <else />
                    <input type="text" class="form-control" name="remark" value="{$data.remark|default=''}">
                </empty>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>电话:</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="phone" value="{$data.phone|default=''}">
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>备用电话:</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="bei_phone" value="{$data.bei_phone|default=''}">
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>地址:</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="louhao" value="{$data.louhao|default=''}" style="width: 10%;float: left;">
                <span style="line-height: 31px;padding: 0px 10px;float: left;">号楼</span>
                <input type="text" class="form-control" name="danyuanhao" value="{$data.danyuanhao|default=''}" style="width: 10%;float: left;">
                <span style="line-height: 31px;padding: 0px 10px;float: left;">单元</span>
                <input type="text" class="form-control" name="louceng" value="{$data.louceng|default=''}" style="width: 10%;float: left;">
                <span style="line-height: 31px;padding: 0px 10px;float: left;">层</span>
                <input type="text" class="form-control" name="fangjianhao" value="{$data.fangjianhao|default=''}" style="width: 10%;float: left;"><span></span>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>物业管家姓名:</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="gj_name" value="{$data.gj_name|default=''}">
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label"><span class="form-required">*</span>管家联系电话:</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="gj_phone" value="{$data.gj_phone|default=''}">
            </div>
        </div>

        <input type="hidden" name="id" value="{$id|default=''}">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-primary js-ajax-submit" value="">保存</button>
        </div>
    </form>

</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>